package com.realtyManage.springboot.Service;

import com.realtyManage.springboot.Model.Do.ApplyInfo;
import com.realtyManage.springboot.Model.Do.ApplyRule;
import com.realtyManage.springboot.Model.Vo.ApplyEntity;
import org.springframework.data.domain.Page;

import java.util.Date;
import java.util.List;

public interface IApplyInfoService {

    List<ApplyRule> queryApplyRule();

    int updateApplyRule(ApplyRule applyRule);

    int addApplyInfo(ApplyInfo applyInfo);

    List<ApplyInfo> queryApplyInfoS(ApplyEntity applyEntity);

    List<ApplyInfo> queryApplyInfoE(ApplyEntity applyEntity);

    //int queryApplyRuleByType(Integer b);

    int verification(int userId,String phone);

    int confirmVisit(ApplyInfo applyInfo);

    List<ApplyInfo> scanRecord(Integer uid);

    ApplyInfo queryApplyInfo(String xnh);

    void scanGq();

    void updateStep(String virtualNumber);

    void updateTStep(String virtualNumber);

    void updateJJStep(String virtualNumber);

    List<ApplyInfo> queryApplyDetailById(String id);

    Page<ApplyInfo> queryApplyInfoAll(ApplyEntity applyEntity);

    int deleteInvalidApply(String id);
}
